How to usethe <i> Tag in HTML
The <i> tag is used to render text in italic form, but it does not imply any special emphasis like the <em> tag. The <i> tag is generally used to display the technical term, phrase, the important word in a different language.
<!DOCTYPE html>
<html>
<head>
<title>Italic Text</title>
</head>
<body>
<p>Welcome to <i>w3wiki</i></p>
</body>
</html>
Output:
Welcome to w3wiki
How to Make Text Italic in HTML?
The italic text in HTML can be done using the <em> (emphasis) tag or the <i> (italic) tag. Both tags are used to indicate that text should be displayed in italic form. Additionally, you can also use CSS style to text and make it italic. In this article, we will cover all approaches with examples to make text Italic.
Table of Content
- Using the <em> Tag
- Using the <i> Tag
- Using CSS Style
Contact Us